package indigo.utils 
{
	import flash.events.Event;
	/**
	 * @author patrickpietens
	 * 
	 */
	public interface IDisposable 
	{
		/**
		 * Disposes a IDisposable, removing all listeners and nullyfing all it's properties, children and references. 
		 * This method should be overriden by classes that implement the IDisposable to make sure they are completely 
		 * disposed and free CPU resources
		 * @param	Event which triggers the method
		 * 
		 */		
		function dispose( event:Event = null ):void;
	}
}
